<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Devicename')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-devicename" data-rule="required" class="form-control" name="row[devicename]" type="text" value="{$row.devicename|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Devicesecrit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-devicesecrit" class="form-control" name="row[devicesecrit]" type="text" value="{$row.devicesecrit|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('State')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="stateList" item="vo"}
            <label for="row[state]-{$key}"><input id="row[state]-{$key}" name="row[state]" type="radio" value="{$key}" {in name="key" value="$row.state"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Signalstrength')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-signalstrength" class="form-control" name="row[signalstrength]" type="text" value="{$row.signalstrength|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Reportinterval')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-reportinterval" data-rule="required" class="form-control" name="row[reportinterval]" type="number" value="{$row.reportinterval|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Heartbeat')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-heartbeat" data-rule="required" class="form-control" name="row[heartbeat]" type="number" value="{$row.heartbeat|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
